package com.itobase.statusDetect.Model;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Objects;

/**
 * @author htyu
 * @date 2019/5/5
 */
@Document
@Data
public class Student extends User {

    /**
     * 是否存入人脸，true表示已存入，false则表示没有
     */
    private boolean saved;

    /**
     * 人脸路径
     */
    private String url;


    @Override
    public boolean equals(Object o) {
        return super.equals(o);
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

}
